package com.ltmonitor.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Inheritance;
import javax.persistence.InheritanceType;
import javax.persistence.Table;

/**
 * 车辆状态图标定义
 * @author admin
 *
 */
@Entity
@Table(name="vehicleStateIcon")
@org.hibernate.annotations.Proxy(lazy = false)
@Inheritance(strategy=InheritanceType.TABLE_PER_CLASS) 
public class VehicleStateIcon extends TenantEntity{
	
	public VehicleStateIcon()
	{
		createDate = new Date();
	}

	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column(name = "Id", unique = true, nullable = false)
	private long entityId;
	public  long getEntityId() {
		return entityId;
	}
	public  void setEntityId(long value) {
		entityId = value;
	}
	
	/**
	 * 车型
	 */
	private String vehicleType;
	/**
	 * 图标
	 */
	private String icon;
	/**
	 * 车辆状态定义
	 */
	private String vehicleStatus;
	
	private boolean defaultVehicleType;
	
	public String getVehicleType() {
		return vehicleType;
	}
	public void setVehicleType(String vehicleType) {
		this.vehicleType = vehicleType;
	}
	public String getIcon() {
		return icon;
	}
	public void setIcon(String icon) {
		this.icon = icon;
	}
	public String getVehicleStatus() {
		return vehicleStatus;
	}
	public void setVehicleStatus(String vehicleStatus) {
		this.vehicleStatus = vehicleStatus;
	}
	public boolean isDefaultVehicleType() {
		return defaultVehicleType;
	}
	public void setDefaultVehicleType(boolean defaultVehicleType) {
		this.defaultVehicleType = defaultVehicleType;
	}

}
